
<template>
  <div>
    <slot>
    <van-icon name="revoke" color="#ee0a24" size="20" @click="goback" />
  </slot>
  </div>
</template>

<script>
export default {
  methods:{
    goback(){
      this.$router.go(-1)
    }
  }
}
</script>
